// Released in the Public Domain. http://creativecommons.org/licenses/publicdomain/
package org.xi8ix.async.spi;

import org.xi8ix.async.Tuner;

/**
 * @author Iain Shigeoka
 */
class TunerImpl implements Tuner {
    protected int bufferSize;
    protected int recvBufferSize;

    TunerImpl(int bufferSize) {
        setBufferSize(bufferSize);
    }

    public int getBufferSize() {
        return bufferSize;
    }

    public void setBufferSize(int bufferSize) {
        this.bufferSize = bufferSize;
    }

    public int getRecvBufferSize() {
        return recvBufferSize;
    }

    public void setRecvBufferSize(int recvBufferSize) {
        this.recvBufferSize = recvBufferSize;
    }
}
